package com.biunova.novapay.dao;

import com.biunova.novapay.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper  // Add this annotation for MyBatis
public interface OrderDao {
    void insertOrder(Order order);
    void updateOrder(Order order);
    void deleteOrder(Long orderId);
    Order getOrderById(Long orderId);
    List<Order> getAllOrders();

    Order findByOrderNumber(String outTradeNo);
}
